extends layout


block append container
  if true
    h1 这里是 ccy 的个人博客
    h2 主要发布：
    h2 逐渐将cocos官网发表的文章移到这里
    h2 一些开发工具，比如csv转lua工具
    h2 还有如何开发这个博客网站
    h3 联系方式:810278677@qq.com
    .text-center
      h4 创建于2015/10/17 by ccy
  else               
      h1= title
      p Welcome to #{title}
      #blue aaa
      .green bbb
      ul
        li.first: a(href='#') foo
        li: a(href='#') bar
        li.last: a(href='#') baz
      -var friends = 10
      case friends
        when 5: p kk = 5
        default: p default = 1 #{friends}
      - var classA = ['aa','bb','cc']
      if friends == 10
        p tttttt
      else
        p 11111
      - var items = ['one','two','there','four']
      ul
        each name ,i in items
          li #{name} : #{i}
      p(class=classA)
      p: p: p aaa
      - var user = {id:3,name:'hello'}
      a(href='/user/' + user.id)=  user.name
      //- Declaration
      mixin list
        ul
          li foo
          li bar
          li baz
      //- Use
      +list
      +list